<#import "PageTemplate.ftl" as p> 

<@p.page>
<div class="page-header">
	<h1>${person.firstName} ${person.lastName}</h1>
</div>

<div class="input-group"><span class="input-group-addon">First Name(s): </span><input id="firstName" type="text" class="form-control" placeholder="First Name(s)" value="${person.firstName}"></input></div>
<br />
<div class="input-group"><span class="input-group-addon">Last Name(s): </span><input id="lastName" type="text" class="form-control" placeholder="Last Name(s)" value="${person.lastName}"></input></div>
<br />	
<div class="input-group"><span class="input-group-addon">E-Mail: </span><input id="eMail" type="text" class="form-control" placeholder="E-Mail" value="${person.mail}"></input></div>
<br />

<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">Group Memberships</h3></div>
<div class="panel-body">
	<#list person.memberships as m>
	<div>${m.label?html} (${m.uri?html})</div>
	</#list>
</div>
</div>

 	  
<div class="page-header">
	<h2>Worker Role</h2>
</div>

<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">Worker Interfaces</h3></div>
<div class="panel-body">
<#if person.interfaces?size != 0>
	<#list person.interfaces as i>
	<div>${i.label?html} (${i.uri?html})</div>
	</#list>
<#else>
	Not available for solving Tasks! No Task Interfaces have been defined! 
</#if>
</div>
</div>


			

 	  	
<br />
 	  
<p><button id="saveButton" class="btn btn-lg btn-primary btn-block" type="submit">Save</button></p>
</@p.page>